export const menus  = [
    { index: 0, name: '复制文本', command: 'copy' },
    { index: 0, name: '新增节点', command: 'add' },
    { index: 0, name: '编辑节点', command: 'edit' },
    { index: 0, name: '删除节点', command: 'delete' },
    { index: 1, name: '查看', command: 'find' },
    { index: 1, name: '增加下级部门', command: 'addDepartment' },
    { index: 1, name: '部门修改', command: 'updateDepartment' },
    { index: 1, name: '增加岗位', command: 'addPositions' },
    { index: 1, name: '删除本部门', command: 'delDepartment' },
    { index: 2, name: '查看', command: 'findPositions' },
    { index: 2, name: '修改岗位', command: 'updatePositions' },
    { index: 2, name: '删除岗位', command: 'delPositions' },
    { index: 2, name: '发布招聘', command: 'posting' },
    { index: 3, name: '查看', command: 'findUser' },
]